package com.ds.esd.manager.service;

import com.ds.common.expression.ParseException;
import com.ds.common.expression.function.AbstractFunction;
import com.ds.annotation.EsbBeanAnnotation;
import com.ds.org.OrgManager;
import com.ds.server.OrgManagerFactory;


@EsbBeanAnnotation(id = "OrgManager",
        name = "装载远程应用",
        expressionArr = "GetOrgManager()",
        desc = "装载远程应用")

public class GetOrgManager<T extends OrgManager> extends AbstractFunction<T> {


    public T perform() throws ParseException {
        OrgManager client = OrgManagerFactory.getOrgManager();
        return (T) client;
    }


}

